﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" AutoEventWireup="true" Inherits="System.Web.Mvc.ViewPage<List<IPerspectiveEntity>>" %>

<asp:Content ID="indexContent" ContentPlaceHolderID="MainContent" runat="server">
    <h2>Inbox</h2>
    <table>
        <tbody>
        <% foreach (var message in Model) { %>
            <tr<%= message.IsRead ? " style=\"background-color:#CCF\"" : "" %>>
                <td><%= message.Title %></td>
                <td><%= message.Summary %></td>
                <td><%= message.Date %></td>
            </tr>
        <% } %>
        </tbody>
    </table>
           
</asp:Content>
